PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / LineDef Class / LineDef Constructor / LineDef Constructor(Unit,Color,Single[])
A value assigned to the Color property.
A value assigned to the Color property.
A value assigned to the DashPattern property.

In This Topic
    LineDef Constructor(Unit,Color,Single[])
    In This Topic
    Initializes a new instance of the LineDef class, assigning line width, color and dash pattern. DashStyle is set to System.Drawing.Drawing2D.DashStyle.Custom.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal width As Unit, _
       ByVal color As Color, _
       ByVal dashPattern() As Single _
    )
    public LineDef( 
       Unit width,
       Color color,
       float[] dashPattern
    )

    Parameters

    width
    A value assigned to the Color property.
    color
    A value assigned to the Color property.
    dashPattern
    A value assigned to the DashPattern property.
    See Also